package com.yunfeng.aolin.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.aolin.entity.CustomerOrder;
import com.yunfeng.common.util.Page;

public interface CustomerOrderService {
	CustomerOrder get(Long id);

	void saveOrUpdate(CustomerOrder customerOrder);

	void delete(Long id);

	List<CustomerOrder> findAll();

	List<CustomerOrder> findAll(Page page);

	List<CustomerOrder> findByOrderno(Page page, String orderno);

	List<CustomerOrder> findByExample(
			Specification<CustomerOrder> specification, Page page);
}
